package com.probiz.estore.content.service;

import java.util.List;

import com.probiz.estore.common.model.content.Content;
import com.probiz.estore.common.model.content.ContentMedia;
import com.probiz.estore.core.service.GenericManager;

/**
 * Manager interface for ContentMedia, responsible for business processing, and communicate between web and persistence layer.
 *
 */
public interface ContentMediaManager extends GenericManager<ContentMedia> {
	/**
	 * 保存内容媒体，从数组中获取必要参数
	 * content 内容
	 * mediaIds 媒体id;
	 * mediaUrls 媒体url
	 * mediaTypes 媒体类型
	 * mediaDescs 媒体描述
	 * return : 新的媒体id
	 */
	public List<String> saveMediasFromArrays(Content content,String[] mediaIds,String[] mediaUrls,String[] mediaTypes,String[] mediaDesc);

}
